home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / cxe103.zip / CXVB.BAS < prev    next >
BASIC Source File  |  1992-08-03  |  838b  |  20 lines

  1. Declare Function CX_COMPRESS Lib "cxwin.dll" (ByVal method%, obuff As Any, ByVal osize%, ibuff As Any, ByVal isize%, tbuff As Any, ByVal tsize%) As Integer
  2. Declare Function CX_DECOMPRESS Lib "cxwin.dll" (obuff As Any, ByVal osize%, ibuff As Any, ByVal isize%, tbuff As Any, ByVal tsize%) As Integer
  3. Declare Function CX_CRC Lib "cxwin.dll" (buff As Any, ByVal n%) As Integer
  4.  
  5. Global Const CX_ERR_INVALID = (65535 - 0)
  6. Global Const CX_ERR_METHOD = (65535 - 1)
  7. Global Const CX_ERR_BUFFSIZE = (65535 - 2)
  8. Global Const CX_ERR_TEMPSIZE = (65535 - 3)
  9.  
  10. Global Const CX_METHOD1 = (1)
  11. Global Const CX_METHOD2 = (2)
  12. Global Const CX_METHOD3 = (3)
  13. Global Const CX_MAX_BUFFER = (65000)
  14. Global Const CX_CSLOP = (300)
  15.  
  16. Global Const CX_C_MINTEMP = (16 * 1024)
  17. Global Const CX_C_MAXTEMP = (65500)
  18. Global Const CX_D_MINTEMP = (5 * 1024)
  19.  
  20.